package com.cmcc.cmii.smsmail.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Thanks
 * @since 2020-05-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MailBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 邮箱类型 1 QQ 2 163  3 126
     */
    private Integer mailType;

    /**
     * type说明  如QQ邮箱/163邮箱/126邮箱等
     */
    private String typeMsg;

    /**
     * 邮箱服务器的host
     */
    private String mailHost;

    /**
     * 邮箱服务器端口
     */
    private Integer mailPort;

    /**
     * 邮箱协议
     */
    private String mailProtocol;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记 0 正常 1 删除
     */
    private Integer deleteFlag;

    /**
     * 启用/停用  0 启用 1 停用
     */
    private Integer isStoped;


}
